package com.tourism.tourismGYM.dao;

import java.util.HashMap;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.tourism.tourismGYM.commom.BasePage;

public class TourismApmDaoImpl {
	@PersistenceContext
	private EntityManager entityManager;
	
	Page<HashMap> page(Pageable pageable, StringBuilder dataSql){
		return BasePage.getPageResult(entityManager, pageable, dataSql.toString());
	};
}
